package com.jt.Controller;

import com.jt.Service.UserService;
import com.jt.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

import javax.jws.soap.SOAPBinding;

@Controller
public class UserController {
    @Autowired
    @Qualifier("userServiceA")
    private UserService userService;
    @Autowired
    private User user;
    public void addUser(){

        userService.addUser(user);

    }
}
